package cn.tedu.shoppingmall;

import com.github.pagehelper.PageHelper;
import org.mybatis.spring.SqlSessionFactoryBean;
import org.mybatis.spring.annotation.MapperScan;
import org.omg.PortableInterceptor.Interceptor;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.Bean;

import java.util.Properties;

////组件扫描:添加了此注解之后才能够从当前类所在包以及子包中找到过滤器
//@ServletComponentScan
@SpringBootApplication
@MapperScan("cn.tedu.shoppingmall.mapper")
@EntityScan("cn.tedu.shoppingmall.vo")
public class ShoppingMallApplication {

    public static void main(String[] args) {
        SpringApplication.run(ShoppingMallApplication.class, args);
    }


}
